Automattic\Jetpack\Classic_Theme_Helper\Jetpack_Testimonial C

Total Complexity 108
Dependencies 8
Dependents 3
Total lines 893
Lines of code 552
Logical lines of code 212
Comment lines 245
Methods 31
Properties 0

Methods 31

Method Rating Maintainability Complexity Lines of code
jetpack_testimonial_shortcode()
A
41 13 54
maybe_register_cpt()
A
45 13 37
jetpack_testimonial_shortcode_html()
A
43 6 55
get_testimonial_class()
S
53 7 23
coerce_testimonial_image_to_url()
S
61 6 13
register_post_types()
S
42 3 55
customize_register()
S
41 2 69
__construct()
S
52 5 23
update_option_stat_bump()
S
66 5 8
setting_html()
S
52 3 26
settings_api_init()
S
54 3 24
updated_messages()
S
47 2 38
infinite_scroll_click_posts_per_page()
S
67 4 7
query_reading_setting()
S
67 4 8
site_should_display_testimonials()
S
64 4 9
flush_rules_on_first_testimonial()
S
63 3 10
site_supports_custom_post_type()
S
69 3 6
count_testimonials()
S
63 3 10
deactivation_post_type_support()
S
61 2 13
add_customize_page()
S
60 1 15
init()
S
69 2 7
change_default_title()
S
70 2 6
activation_post_type_support()
S
73 2 5
flush_rules_on_switch()
S
75 2 5
get_testimonial_thumbnail_link()
S
71 2 5
edit_title_column_label()
S
75 1 4
add_to_sitemap()
S
76 1 4
flush_rules_on_enable()
S
82 1 3
new_testimonial_stat_bump()
S
79 1 3
new_activation_stat_bump()
S
79 1 3
allow_cpt_rest_api_type()
S
76 1 4